<?xml version="1.0" encoding="utf-8"?>
<clickhouse>
    <keeper_server>
        <tcp_port>9181</tcp_port>
        <server_id>1</server_id>
        <log_storage_path>/var/lib/clickhouse/coordination/log</log_storage_path>
        <snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path>
        <coordination_settings>
            <operation_timeout_ms>5000</operation_timeout_ms>
            <raft_logs_level>trace</raft_logs_level>
            <session_timeout_ms>10000</session_timeout_ms>
        </coordination_settings>
        <raft_configuration>
            <server>
                <can_become_leader>true</can_become_leader>
                <hostname>node1</hostname>
                <id>1</id>
                <port>2888</port>
                <priority>1</priority>
            </server>
        </raft_configuration>
    </keeper_server>

    <user_directories>
        <replicated>
            <zookeeper_path>/clickhouse/access</zookeeper_path>
        </replicated>
    </user_directories>

    <zookeeper>
        <node index="1">
            <host>node1</host>
            <port>9181</port>
        </node>
    </zookeeper>
</clickhouse>
